package com.zxy.dept.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Department {

    /**
     * 部门id
     */
    private String deptId;

    /**
     * 部门名
     */
    private String deptName;


    /**
     * 父级部门id
     */
    private String superDeptId;

    private List<Department> departments;
}
